package com.itheima;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@ServletComponentScan("com.itheima")//扫描serlet组件的注解。否则不识别过滤器的注解
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class,args);
    }
}
